#define  _CRT_SECURE_NO_WARNINGS 1

#include "BinaryTree.h"

void TestBinaryTree()
{
	BTDataType str[] = "ABD###CE##F##";
	int i = 0;

	pBTNode root = CreateTree(str, &i);

	PrevOrder(root);
	printf("\n");

	LevelOrder(root);
	printf("\n");

	BinaryTreeDestory(root);
	root = NULL;
}

int main()
{
	TestBinaryTree();

	return 0;
}